package org.senseframework.support.open.api.controller.encrypt;

import java.io.Serializable;

/**
 * Author lanjian
 * Email  jianlan@iflytek.com
 */

public class ExchangeResponse implements Serializable {

    private Integer expire;
    private String token;
    private Long  time;

    public ExchangeResponse(){

    }

    public ExchangeResponse(Integer expire, String token, Long time) {
        this.expire = expire;
        this.token = token;
        this.time = time;
    }

    public Long getTime() {
        return time;
    }

    public void setTime(Long time) {
        this.time = time;
    }

    /**
     * 密钥过期时间 单位 s
     * @return
     */
    public Integer getExpire() {
        return expire;
    }

    public void setExpire(Integer expire) {
        this.expire = expire;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
}
